package com.hbnu.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hbnu.system.model.dto.SearchPageDTO;
import com.hbnu.system.model.entity.Briefing;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2023-05-16
 */
public interface IBriefingService extends IService<Briefing> {
    /**
     * 新增科研简报
     * @param briefing
     * @return 是否成功
     */
    boolean addBriefing(Briefing briefing);

    /**
     * 删除科研简报
     *
     */
    boolean deleteBriefing(String briefingID);

    /**
     * 修改科研简报
     *
     * @param briefing
     * @return 是否成功
     */
    boolean updateBriefing(Briefing briefing);

    /**
     * 根据科研简报主键查询科研简报
     *
     * @param briefingID
     * @return Briefing
     */
    Briefing getBriefing(String briefingID);

    /**
     * 分页查询
     */
    IPage<Briefing> pageCondition(SearchPageDTO searchPageDTO);

    /**
     *
     */

}
